package cn.zaichi.edu.excelcommon;

import java.util.List;

import cn.zaichi.edu.excelcommon.annotations.ExcelField;
import cn.zaichi.edu.excelcommon.plugs.convertor.SexConvertor;
import cn.zaichi.edu.excelcommon.plugs.validation.NotEmptyValidator;

public class ImportTestEntity {
    @ExcelField(sort = 0,validator = NotEmptyValidator.class,title = "姓名")
    private String name;
    @ExcelField(rConvert = SexConvertor.class,sort = 1,title = "性别",wConvert = SexConvertor.class)
    private Integer sex;
    @ExcelField(sort = 2,title = "班级",aotuRegion=true)
    private String className;

    @ExcelField(sort = 3,title = "考试时间",dateFormat = "yyyy-MM")
    private String dateTime;


    @ExcelField(dynamic = true,splitFlage = "S_")
    List<ImportTestScoreEntity> scoreEntityList;


    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public List<ImportTestScoreEntity> getScoreEntityList() {
        return scoreEntityList;
    }

    public void setScoreEntityList(List<ImportTestScoreEntity> scoreEntityList) {
        this.scoreEntityList = scoreEntityList;
    }


}
